package br.com.guardaroupavirtual.helper;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class GerarTabelas {  
	  
    public static void create(Configuration cfg) {  
        new SchemaExport(cfg).create(true, true);         
    }  
  
    public static void main(String[] args) {  
        Configuration cfg = new Configuration();
        cfg.configure();
        create(cfg);          
    }
    
}  
